{extend name="public/base"/}
{block name="content"}
    <div class="data-list" data-url="{:url('index')}">
        <form class="layui-form inline-form">
            <div class="pull-left">
                <div class="layui-inline">
                    <input class="layui-input" type="number" autocomplete="off" name="average_aging" placeholder="平均时效/小于">
                </div>
                <div class="layui-inline">
                    <input class="layui-input" type="number" autofocus="" autocomplete="off" name="delivery_rate" placeholder="妥投率/大于">
                </div>
                <div class="layui-inline">
                    <select name="country_code" lay-filter="data-list" lay-search="">
                        <option value="">国家</option>
                        {foreach $countries as $c}
                        <option value="{$c.code_two}">{$c.name_ch}</option>
                        {/foreach}
                    </select>
                    <div class="layui-form-select">
                        <div class="layui-select-title">
                            <input type="text" placeholder="国家" value="{if 1==2}挪威{/if}" class="layui-input">
                            <i class="layui-edge"></i>
                        </div>
                        <dl class="layui-anim layui-anim-upbit">
                            <dd lay-value="" class="layui-select-tips">国家</dd>
                            {foreach $countries as $c}
                            <dd lay-value="{$c.code_two}" class="{if 1==2}layui-this{/if}">{$c.name_ch}</dd>
                            {/foreach}
                        </dl>
                    </div>
                </div>
                <div class="layui-inline">
                    <select name="channel_id" lay-filter="data-list" lay-search="">
                        <option value="">渠道</option>
                        {foreach $channel as $c}
                        <option value="{$c.channel_id}">{$c.channel_name}</option>
                        {/foreach}
                    </select>
                    <div class="layui-form-select">
                        <div class="layui-select-title">
                            <input type="text" placeholder="渠道" value="" class="layui-input">
                            <i class="layui-edge"></i>
                        </div>
                        <dl class="layui-anim layui-anim-upbit">
                            <dd lay-value="" class="layui-select-tips">渠道</dd>
                            {foreach $channel as $c}
                            <dd lay-value="{$c.channel_id}" class="">{$c.channel_name}</dd>
                            {/foreach}
                        </dl>
                    </div>
                </div>
                <div class="layui-inline">
                    <select name="status" lay-filter="data-list">
                        <option value="">状态</option>
                        {foreach $express_country_status as $key=>$v}
                        <option value="{$key}">{$v}</option>
                        {/foreach}
                    </select><div class="layui-unselect layui-form-select"><div class="layui-select-title"><input type="text" placeholder="状态" value="" readonly="" class="layui-input layui-unselect"><i class="layui-edge"></i></div><dl class="layui-anim layui-anim-upbit"><dd lay-value="" class="layui-select-tips">状态</dd><dd lay-value="0" class="">否</dd><dd lay-value="1" class="">是</dd></dl></div>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn layui-btn-sm layui-btn-normal search"><i class="layui-icon layui-icon-search"></i></button>
                </div>
            </div>
            <div class="pull-right">
                <div class="layui-inline">
                    <a class="layui-btn layui-btn-normal layui-btn-sm " href="{:url('add')}"><i class="layui-icon layui-icon-add-circle"></i> 新增</a>
                </div>
            </div>
        </form>


        <div class="data">
            <p><i class="fa fa-spinner fa-spin"></i> 加载中...</p>
        </div>

    </div>
{/block}
{block name="script"}
{/block}
